PaymentPlugins\WooCommerce\PPCP\Admin\Settings\APISettings S

Total Complexity 35
Dependencies 4
Dependents 13
Total lines 435
Lines of code 400
Logical lines of code 84
Comment lines 9
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
init_form_fields()
A
28
5 194
generate_connect_link()
A
39 5 69
process_admin_options()
S
59 5 14
generate_paypal_button_html()
S
50 3 29
generate_webhook_button_html()
S
48 1 38
admin_options()
S
69 3 6
is_connected()
S
67 2 7
get_client_id()
S
74 2 4
get_settings_script_data()
S
61 1 13
is_sandbox()
S
80 1 3
get_environment()
S
80 1 3
get_webhook_id()
S
78 1 3
set_webhook_id()
S
79 1 3
debug_webhook_enabled()
S
79 1 3
debug_payment_enabled()
S
79 1 3
get_admin_script_dependencies()
S
76 1 4
__construct()
S
75 1 4